﻿<Page
      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
      xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
      xmlns:local="clr-namespace:JasRibbonApplicatie.Classes"
      xmlns:src="clr-namespace:JasRibbonApplicatie.Converters"
      xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity" xmlns:ei="http://schemas.microsoft.com/expression/2010/interactions" x:Class="JasRibbonApplicatie.Views.BeheerAanvragen.OverzichtAanvragen"
      mc:Ignorable="d" 
      d:DesignHeight="600" d:DesignWidth="1024"
    x:Name="OverzichtAanvragenPage"
	Title="Overzicht Aanvragen">
    <Page.Resources>
        <Style TargetType="{x:Type ComboBoxItem}" x:Key="combostyle">
            <Setter Property="Template">
                <Setter.Value>
                    <ControlTemplate TargetType="{x:Type ComboBoxItem}">
                        <ControlTemplate.Resources>
                            <src:TimeFromMagazijnierIdConverter x:Key="conv" />
                            <Storyboard x:Key="OnMouseEnter1">
                            	<ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)" Storyboard.TargetName="selectedBackground">
                                    <EasingColorKeyFrame KeyTime="0" Value="#00CCCCCC"/>
                            		<EasingColorKeyFrame KeyTime="0:0:0.5" Value="#B2CCCCCC"/>
                            	</ColorAnimationUsingKeyFrames>
                            </Storyboard>
                            <Storyboard x:Key="OnMouseLeave1">
                            	<ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)" Storyboard.TargetName="selectedBackground">
                                    <EasingColorKeyFrame KeyTime="0" Value="#B2CCCCCC"/>
                                    <EasingColorKeyFrame KeyTime="0:0:0.5" Value="#00CCCCCC"/>
                            	</ColorAnimationUsingKeyFrames>
                            </Storyboard>
                        </ControlTemplate.Resources>

                        <Grid x:Name="bd">
                            <Grid.ToolTip>
                                <MultiBinding Converter="{StaticResource conv}" Mode="OneWay">
                                    <Binding /><!-- this mimics your current binding to the datacontext itself -->
                                    <Binding ElementName="afhalenDatePicker"/>
                                </MultiBinding>
                            </Grid.ToolTip>

                            <Rectangle x:Name="MarkedItemBackground" IsHitTestVisible="False" Fill="#B2FF3C3C" />
                            <Rectangle x:Name="selectedBackground" RadiusX="2" RadiusY="2" Opacity="1" Fill="#00CCCCCC"/>
                            <Rectangle x:Name="Background" RadiusX="2" RadiusY="2" Opacity="0" Fill="{TemplateBinding Background}"/>
                            <ContentPresenter x:Name="NormalText"
                                    		  HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
											  VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
											  Margin="5,1,5,1">
                                <TextElement.Foreground>
                                    <SolidColorBrush x:Name="selectedText" Color="Black"/>
                                </TextElement.Foreground>
                            </ContentPresenter>
                        </Grid>
                        <ControlTemplate.Triggers>
                    		<EventTrigger RoutedEvent="Mouse.MouseEnter" SourceName="bd">
                    			<BeginStoryboard Storyboard="{StaticResource OnMouseEnter1}"/>
                    		</EventTrigger>
                            <EventTrigger RoutedEvent="Mouse.MouseLeave" SourceName="bd">
                    			<BeginStoryboard x:Name="OnMouseLeave1_BeginStoryboard" Storyboard="{StaticResource OnMouseLeave1}"/>
                    		</EventTrigger>
                    		<DataTrigger Value="{x:Null}">
                    			<DataTrigger.Binding>
                    				<MultiBinding Converter="{StaticResource conv}" Mode="OneWay">
                    					<Binding />
                    					<!-- this mimics your current binding to the datacontext itself -->
                    					<Binding ElementName="afhalenDatePicker"/>
                    				</MultiBinding>
                    			</DataTrigger.Binding>
                    			<Setter TargetName="MarkedItemBackground" Property="Visibility" Value="Hidden" />
                    		</DataTrigger>
							
                    	</ControlTemplate.Triggers>
                    </ControlTemplate>
                </Setter.Value>
            </Setter>
        </Style>
        <Style TargetType="{x:Type ComboBoxItem}" x:Key="combostyle2">
            <Setter Property="Template">
                <Setter.Value>
                    <ControlTemplate TargetType="{x:Type ComboBoxItem}">
                        <ControlTemplate.Resources>
                            <src:TimeFromMagazijnierIdConverter x:Key="conv" />
                            <Storyboard x:Key="OnMouseEnter1">
                                <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)" Storyboard.TargetName="selectedBackground">
                                    <EasingColorKeyFrame KeyTime="0" Value="#00CCCCCC"/>
                                    <EasingColorKeyFrame KeyTime="0:0:0.5" Value="#B2CCCCCC"/>
                                </ColorAnimationUsingKeyFrames>
                            </Storyboard>
                            <Storyboard x:Key="OnMouseLeave1">
                                <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)" Storyboard.TargetName="selectedBackground">
                                    <EasingColorKeyFrame KeyTime="0" Value="#B2CCCCCC"/>
                                    <EasingColorKeyFrame KeyTime="0:0:0.5" Value="#00CCCCCC"/>
                                </ColorAnimationUsingKeyFrames>
                            </Storyboard>
                        </ControlTemplate.Resources>

                        <Grid x:Name="bd">
                            <Grid.ToolTip>
                                <MultiBinding Converter="{StaticResource conv}" Mode="OneWay">
                                    <Binding />
                                    <!-- this mimics your current binding to the datacontext itself -->
                                    <Binding ElementName="inleverenDatePicker"/>
                                </MultiBinding>
                            </Grid.ToolTip>

                            <Rectangle x:Name="MarkedItemBackground" IsHitTestVisible="False" Fill="#B2FF3C3C" />
                            <Rectangle x:Name="selectedBackground" RadiusX="2" RadiusY="2" Opacity="1" Fill="#00CCCCCC"/>
                            <Rectangle x:Name="Background" RadiusX="2" RadiusY="2" Opacity="0" Fill="{TemplateBinding Background}"/>
                            <ContentPresenter x:Name="NormalText"
                                    		  HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
											  VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
											  Margin="5,1,5,1">
                                <TextElement.Foreground>
                                    <SolidColorBrush x:Name="selectedText" Color="Black"/>
                                </TextElement.Foreground>
                            </ContentPresenter>
                        </Grid>
                        <ControlTemplate.Triggers>
                            <EventTrigger RoutedEvent="Mouse.MouseEnter" SourceName="bd">
                                <BeginStoryboard Storyboard="{StaticResource OnMouseEnter1}"/>
                            </EventTrigger>
                            <EventTrigger RoutedEvent="Mouse.MouseLeave" SourceName="bd">
                                <BeginStoryboard x:Name="OnMouseLeave1_BeginStoryboard" Storyboard="{StaticResource OnMouseLeave1}"/>
                            </EventTrigger>
                            <DataTrigger Value="{x:Null}">
                                <DataTrigger.Binding>
                                    <MultiBinding Converter="{StaticResource conv}" Mode="OneWay">
                                        <Binding />
                                        <!-- this mimics your current binding to the datacontext itself -->
                                        <Binding ElementName="inleverenDatePicker"/>
                                    </MultiBinding>
                                </DataTrigger.Binding>
                                <Setter TargetName="MarkedItemBackground" Property="Visibility" Value="Hidden" />
                            </DataTrigger>

                        </ControlTemplate.Triggers>
                    </ControlTemplate>
                </Setter.Value>
            </Setter>
        </Style>
        <Style x:Key="MyDataGridRowStyle" TargetType="{x:Type DataGridRow}">
        	<Setter Property="Background" Value="{DynamicResource {x:Static SystemColors.WindowBrushKey}}"/>
        	<Setter Property="SnapsToDevicePixels" Value="true"/>
        	<Setter Property="Validation.ErrorTemplate" Value="{x:Null}"/>
        	<Setter Property="ValidationErrorTemplate">
        		<Setter.Value>
        			<ControlTemplate>
        				<TextBlock Foreground="Red" Margin="2,0,0,0" Text="!" VerticalAlignment="Center"/>
        			</ControlTemplate>
        		</Setter.Value>
        	</Setter>
        	<Setter Property="Template">
        		<Setter.Value>
        			<ControlTemplate TargetType="{x:Type DataGridRow}">
        				<Border x:Name="DGR_Border" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" SnapsToDevicePixels="True" Background="White">
        					<VisualStateManager.VisualStateGroups>
        						<VisualStateGroup x:Name="CommonStates">
        							<VisualState x:Name="Normal"/>
        							<VisualState x:Name="Normal_AlternatingRow">
        								<Storyboard>
        									<ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Panel.Background).(SolidColorBrush.Color)" Storyboard.TargetName="DGR_Border">
        										<EasingColorKeyFrame KeyTime="0" Value="White"/>
        									</ColorAnimationUsingKeyFrames>
        								</Storyboard>
        							</VisualState>
        							<VisualState x:Name="Unfocused_Editing"/>
        							<VisualState x:Name="Normal_Editing"/>
        							<VisualState x:Name="Unfocused_Selected">
        								<Storyboard>
        									<ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Panel.Background).(SolidColorBrush.Color)" Storyboard.TargetName="DGR_Border">
        										<EasingColorKeyFrame KeyTime="0" Value="#FFBBBBFF"/>
        									</ColorAnimationUsingKeyFrames>
        								</Storyboard>
        							</VisualState>
        							<VisualState x:Name="Normal_Selected">
        								<Storyboard>
        									<ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Panel.Background).(SolidColorBrush.Color)" Storyboard.TargetName="DGR_Border">
        										<EasingColorKeyFrame KeyTime="0" Value="#FFBBBBFF"/>
        									</ColorAnimationUsingKeyFrames>
        								</Storyboard>
        							</VisualState>
        							<VisualState x:Name="MouseOver">
        								<Storyboard>
        									<ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Panel.Background).(SolidColorBrush.Color)" Storyboard.TargetName="DGR_Border">
        										<EasingColorKeyFrame KeyTime="0" Value="#FFBBBBBB"/>
        									</ColorAnimationUsingKeyFrames>
        								</Storyboard>
        							</VisualState>
        							<VisualState x:Name="MouseOver_Unfocused_Editing">
        								<Storyboard>
        									<ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Panel.Background).(SolidColorBrush.Color)" Storyboard.TargetName="DGR_Border">
        										<EasingColorKeyFrame KeyTime="0" Value="#FFBBBBBB"/>
        									</ColorAnimationUsingKeyFrames>
        								</Storyboard>
        							</VisualState>
        							<VisualState x:Name="MouseOver_Editing">
        								<Storyboard>
        									<ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Panel.Background).(SolidColorBrush.Color)" Storyboard.TargetName="DGR_Border">
        										<EasingColorKeyFrame KeyTime="0" Value="#FFBBBBBB"/>
        									</ColorAnimationUsingKeyFrames>
        								</Storyboard>
        							</VisualState>
        							<VisualState x:Name="MouseOver_Unfocused_Selected">
        								<Storyboard>
        									<ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Panel.Background).(SolidColorBrush.Color)" Storyboard.TargetName="DGR_Border">
        										<EasingColorKeyFrame KeyTime="0" Value="#FFBBBBBB"/>
        									</ColorAnimationUsingKeyFrames>
        								</Storyboard>
        							</VisualState>
        							<VisualState x:Name="MouseOver_Selected">
        								<Storyboard>
        									<ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Panel.Background).(SolidColorBrush.Color)" Storyboard.TargetName="DGR_Border">
        										<EasingColorKeyFrame KeyTime="0" Value="#FFBBBBFF"/>
        									</ColorAnimationUsingKeyFrames>
        								</Storyboard>
        							</VisualState>
        						</VisualStateGroup>
        						<VisualStateGroup x:Name="ValidationStates">
        							<VisualStateGroup.Transitions>
        								<VisualTransition GeneratedDuration="0:0:0.5"/>
        							</VisualStateGroup.Transitions>
        						</VisualStateGroup>
        					</VisualStateManager.VisualStateGroups>
        					<SelectiveScrollingGrid>
        						<SelectiveScrollingGrid.ColumnDefinitions>
        							<ColumnDefinition Width="Auto"/>
        							<ColumnDefinition Width="*"/>
        						</SelectiveScrollingGrid.ColumnDefinitions>
        						<SelectiveScrollingGrid.RowDefinitions>
        							<RowDefinition Height="*"/>
        							<RowDefinition Height="Auto"/>
        						</SelectiveScrollingGrid.RowDefinitions>
        						<DataGridCellsPresenter Grid.Column="1" ItemsPanel="{TemplateBinding ItemsPanel}" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"/>
        						<DataGridDetailsPresenter Grid.Column="1" Grid.Row="1" SelectiveScrollingGrid.SelectiveScrollingOrientation="{Binding AreRowDetailsFrozen, ConverterParameter={x:Static SelectiveScrollingOrientation.Vertical}, Converter={x:Static DataGrid.RowDetailsScrollingConverter}, RelativeSource={RelativeSource AncestorType={x:Type DataGrid}}}" Visibility="{TemplateBinding DetailsVisibility}"/>
        						<DataGridRowHeader Grid.RowSpan="2" SelectiveScrollingGrid.SelectiveScrollingOrientation="Vertical" Visibility="{Binding HeadersVisibility, ConverterParameter={x:Static DataGridHeadersVisibility.Row}, Converter={x:Static DataGrid.HeadersVisibilityConverter}, RelativeSource={RelativeSource AncestorType={x:Type DataGrid}}}"/>
        					</SelectiveScrollingGrid>
        				</Border>
        			</ControlTemplate>
        		</Setter.Value>
        	</Setter>
        </Style>
        <SolidColorBrush x:Key="{x:Static DataGrid.FocusBorderBrushKey}" Color="#FF000000"/>
        <Style x:Key="MyDataGridCellStyle" TargetType="{x:Type DataGridCell}">
        	<Setter Property="Background" Value="Transparent"/>
        	<Setter Property="BorderBrush" Value="Transparent"/>
        	<Setter Property="BorderThickness" Value="1"/>
        	<Setter Property="Template">
        		<Setter.Value>
        			<ControlTemplate TargetType="{x:Type DataGridCell}">
        				<Border BorderThickness="{TemplateBinding BorderThickness}" SnapsToDevicePixels="True">
        					<VisualStateManager.VisualStateGroups>
        						<VisualStateGroup x:Name="CommonStates">
        							<VisualState x:Name="Normal"/>
        							<VisualState x:Name="MouseOver"/>
        						</VisualStateGroup>
        						<VisualStateGroup x:Name="SelectionStates">
        							<VisualState x:Name="Unselected"/>
        							<VisualState x:Name="Selected"/>
        						</VisualStateGroup>
        						<VisualStateGroup x:Name="FocusStates">
        							<VisualState x:Name="Unfocused"/>
        							<VisualState x:Name="Focused"/>
        						</VisualStateGroup>
        						<VisualStateGroup x:Name="ValidationStates">
        							<VisualState x:Name="Valid"/>
        							<VisualState x:Name="InvalidFocused"/>
        							<VisualState x:Name="InvalidUnfocused"/>
        						</VisualStateGroup>
        					</VisualStateManager.VisualStateGroups>
        					<ContentPresenter SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"/>
        				</Border>
        			</ControlTemplate>
        		</Setter.Value>
        	</Setter>
        	<Style.Triggers>
        		<Trigger Property="IsSelected" Value="True">
        			<Setter Property="Background" Value="{DynamicResource {x:Static SystemColors.HighlightBrushKey}}"/>
        			<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.HighlightTextBrushKey}}"/>
        			<Setter Property="BorderBrush" Value="{DynamicResource {x:Static SystemColors.HighlightBrushKey}}"/>
        		</Trigger>
        		<Trigger Property="IsKeyboardFocusWithin" Value="True">
        			<Setter Property="BorderBrush" Value="{DynamicResource {x:Static DataGrid.FocusBorderBrushKey}}"/>
        		</Trigger>
        	</Style.Triggers>
        </Style>
    </Page.Resources>

    <Grid Margin="10,10,10,0" x:Name="rootGrid">
    	<VisualStateManager.VisualStateGroups>
    		<VisualStateGroup x:Name="VisualStateGroup">
    			<VisualStateGroup.Transitions>
    				<VisualTransition GeneratedDuration="0:0:0.5"/>
    			</VisualStateGroup.Transitions>
    			<VisualState x:Name="AanvraagSelectieState">
    				<Storyboard>
    					<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="aanvragenDatagrid">
    						<DiscreteObjectKeyFrame KeyTime="0" Value="{x:Static Visibility.Visible}"/>
    					</ObjectAnimationUsingKeyFrames>
    					<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="BeheerFrame">
    						<DiscreteObjectKeyFrame KeyTime="0" Value="{x:Static Visibility.Collapsed}"/>
    					</ObjectAnimationUsingKeyFrames>
    				</Storyboard>
    			</VisualState>
    			<VisualState x:Name="BeheerAanvraagState">
    				<Storyboard>
    					<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="aanvragenDatagrid">
    						<DiscreteObjectKeyFrame KeyTime="0" Value="{x:Static Visibility.Collapsed}"/>
    					</ObjectAnimationUsingKeyFrames>
    					<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="BeheerFrame">
    						<DiscreteObjectKeyFrame KeyTime="0" Value="{x:Static Visibility.Visible}"/>
    					</ObjectAnimationUsingKeyFrames>
    				</Storyboard>
    			</VisualState>
    		</VisualStateGroup>
    	</VisualStateManager.VisualStateGroups>
        <Grid.RowDefinitions>
            <RowDefinition Height="1*" MinHeight="25.96" />
            <RowDefinition Height="200" x:Name="bottomColumn" MinHeight="191.96"/>
            <RowDefinition Height="auto" MinHeight="20"/>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition/>
        </Grid.ColumnDefinitions>
        <DataGrid
                  Grid.Row="0"
                  Margin="0,0,0,0"
                  AutoGenerateColumns="false"
                  x:Name="aanvragenDatagrid"
                  DataContext="{Binding}"
                  HeadersVisibility="Column"
                  SelectionMode="Single"
                  SelectionUnit="FullRow"
                  GridLinesVisibility="None"
                  BorderBrush="#00000000"
                  MouseRightButtonUp="aanvragenDatagrid_MouseRightButtonUp"
                  Background="White"
                  SelectionChanged="aanvragenDatagrid_SelectionChanged"
                  RowStyle="{DynamicResource MyDataGridRowStyle}"
                  CellStyle="{DynamicResource MyDataGridCellStyle}">
            <DataGrid.Columns>
                <DataGridTemplateColumn  MinWidth="7" Header="" IsReadOnly="True"> 
                    <DataGridTemplateColumn.CellTemplate>
                        <DataTemplate>
                            <Image Source="{Binding StatusAfbeelding}" Stretch="Uniform" Width="7">
                                <Image.ContextMenu>
                                    <ContextMenu x:Name="statusContextMenu">
                                        <MenuItem Header="Afgekeurd" Click="statusMenuItem_Click">
                                            <MenuItem.Icon>
                                                <Image Source="/JasRibbonApplicatie;component/Images/statussen/status_01.png" />
                                            </MenuItem.Icon>
                                        </MenuItem>
                                        <MenuItem Header="Nieuw" Click="statusMenuItem_Click">
                                            <MenuItem.Icon>
                                                <Image Source="/JasRibbonApplicatie;component/Images/statussen/status_02.png" />
                                            </MenuItem.Icon>
                                        </MenuItem>
                                        <MenuItem Header="Goedgekeurd" Click="statusMenuItem_Click">
                                            <MenuItem.Icon>
                                                <Image Source="/JasRibbonApplicatie;component/Images/statussen/status_03.png" />
                                            </MenuItem.Icon>
                                        </MenuItem>
                                        <MenuItem Header="Behandeld" Click="statusMenuItem_Click">
                                            <MenuItem.Icon>
                                                <Image Source="/JasRibbonApplicatie;component/Images/statussen/status_04.png" Width="7" />
                                            </MenuItem.Icon>
                                        </MenuItem>
                                        <MenuItem Header="Verstreken" Click="statusMenuItem_Click">
                                            <MenuItem.Icon>
                                                <Image Source="/JasRibbonApplicatie;component/Images/statussen/status_05.png" />
                                            </MenuItem.Icon>
                                        </MenuItem>
                                    </ContextMenu>
                                </Image.ContextMenu>
                            </Image>
                        </DataTemplate>
                    </DataGridTemplateColumn.CellTemplate>
                </DataGridTemplateColumn>
                <DataGridTextColumn Binding="{Binding AanvraagId}" Header="ID" IsReadOnly="True"/>
                <DataGridTextColumn Binding="{Binding Gebruiker.NaamVoornaam}" Header="Verantwoordelijke" IsReadOnly="True" />
                <DataGridTextColumn Binding="{Binding Vereniging.vereniging}" Header="Vereniging" IsReadOnly="True" />
                <DataGridTextColumn Binding="{Binding Evenement.naam}" Header="Activiteit" IsReadOnly="True" />
                <DataGridTextColumn Binding="{Binding Evenement.start, StringFormat=dd/MM/yyyy HH:mm}" Header="Begin Evenement" IsReadOnly="True" />
                <DataGridTextColumn Binding="{Binding Evenement.einde, StringFormat=dd/MM/yyyy HH:mm}" Header="Einde Evenement" IsReadOnly="True" />
                <DataGridTextColumn Binding="{Binding MagazijnierAfhaling.Gebruiker.NaamVoornaam}" Header="Magazijnier Afhaling" IsReadOnly="True" />
                <DataGridTextColumn Binding="{Binding GeplandeAfhaling, StringFormat=dd/MM/yyyy HH:mm}" Header="Datum Afhaling" IsReadOnly="True" />
                <DataGridTextColumn Binding="{Binding MagazijnierInlevering.Gebruiker.NaamVoornaam}" Header="Magazijnier Inlevering" IsReadOnly="True" />
                <DataGridTextColumn Binding="{Binding GeplandeInlevering, StringFormat=dd/MM/yyyy HH:mm}" Header="Datum Inlevering" IsReadOnly="True" />
            </DataGrid.Columns>
        </DataGrid>
        <WrapPanel x:Name="OntleningDetailsWrapPanel" Grid.Row="1" Orientation="Horizontal" HorizontalAlignment="Center">
            <GroupBox Header="Info ontlener" HorizontalAlignment="Left" Margin="9,0,0,0" x:Name="ontlenerInfoGroupBox" VerticalAlignment="Top" Width="350">
                <Grid>
                    <Label Content="Aanvraag ID: " HorizontalAlignment="Left" Margin="6,6,0,0" x:Name="aanvraagidLabel" Width="120" Height="26" VerticalAlignment="Top"/>
                    <Label Content="666" HorizontalAlignment="Left" Margin="121,6,0,0" x:Name="valaanvraagidLabel" Width="Auto" Height="26" VerticalAlignment="Top" />
                    <Label Content="Vereniging: " HorizontalAlignment="Left" Margin="6,31,0,0" x:Name="verenigingLabel" Width="120" Height="26" VerticalAlignment="Top" />
                    <Label Content="666" HorizontalAlignment="Left" Margin="121,31,0,0" x:Name="valverenigingLabel" Width="Auto" Height="26" VerticalAlignment="Top" />
                    <Label Content="Verantwoordelijke :" HorizontalAlignment="Left" Margin="6,56,0,0" x:Name="verantwoordelijkeLabel" Width="120" Height="26" VerticalAlignment="Top" />
                    <Label Content="666" HorizontalAlignment="Left" Margin="121,56,0,0" x:Name="valverantwoordelijkeLabel" Width="Auto" Height="26" VerticalAlignment="Top" />
                    <Label Content="Email :" HorizontalAlignment="Left" Margin="6,81,0,0" x:Name="emailLabel" Width="120" Height="26" VerticalAlignment="Top" />
                    <Label Content="666" HorizontalAlignment="Left" Margin="121,81,0,0" x:Name="valemailLabel" Width="Auto" Height="26" VerticalAlignment="Top" />
                    <Label Content="Straat + nr :" HorizontalAlignment="Left" Margin="6,106,0,0" x:Name="straatnrLabel" Width="120" Height="26" VerticalAlignment="Top" />
                    <Label Content="666" HorizontalAlignment="Left" Margin="121,106,0,0" x:Name="valstraatnrLabel" Width="Auto" Height="26" VerticalAlignment="Top" />
                    <Label Content="Gemeente:" HorizontalAlignment="Left" Margin="6,131,0,0" x:Name="gemeenteLabel" Width="120" Height="26" VerticalAlignment="Top" />
                    <Label Content="666" HorizontalAlignment="Left" Margin="121,131,0,0" x:Name="valgemeenteLabelLabel" Width="Auto" Height="26" VerticalAlignment="Top" />
                </Grid>
            </GroupBox>
            <Grid>
                <GroupBox Header="Afhalen" HorizontalAlignment="Left" Margin="9,0,0,0" x:Name="afhalenGroupBox" VerticalAlignment="Top" Width="350">
                    <Grid>
                        <Label Content="Magazijnier: " HorizontalAlignment="Left" Margin="6,6,0,0" x:Name="magazijnier1Label" Width="120" Height="26" VerticalAlignment="Top" />
                        <Label Content="Tijdstip: " Margin="6,31,0,0" x:Name="tijdstip1Label" Height="26" VerticalAlignment="Top" HorizontalAlignment="Left" Width="120" />
                        <ComboBox Height="23" HorizontalAlignment="Left" Margin="121,6,0,0" x:Name="afhalenMagazijnierComboBox" VerticalAlignment="Top" Width="211" DisplayMemberPath="Gebruiker.NaamVoornaam" SelectionChanged="afhalenMagazijnierComboBox_SelectionChanged" ItemContainerStyle="{DynamicResource ResourceKey=combostyle}">
                            <ComboBox.Resources>
                                <SolidColorBrush x:Key="{x:Static SystemColors.HighlightBrushKey}" Color="Gray" />
                            </ComboBox.Resources>
                        </ComboBox>
                        <DatePicker Height="25" HorizontalAlignment="Left" Margin="121,32,0,0" x:Name="afhalenDatePicker" VerticalAlignment="Top" Width="132" SelectedDateChanged="afhalenDatePicker_SelectedDateChanged" />
                        <ComboBox Height="23" x:Name="afhalenTijdComboBox" Width="73" Margin="259,33,6,1" SelectionChanged="afhalenTijdComboBox_SelectionChanged" />
                    </Grid>
                </GroupBox>
                <GroupBox Header="Inleveren" HorizontalAlignment="Left" Margin="9,99,0,0" x:Name="inleverenGroupBox" VerticalAlignment="Top" Width="350">
                    <Grid>
                        <Label Content="Magazijnier: " HorizontalAlignment="Left" Margin="6,6,0,0" x:Name="magazijnier2Label" Width="120" Height="26" VerticalAlignment="Top" />
                        <Label Content="Tijdstip: " HorizontalAlignment="Left" Margin="6,31,0,0" x:Name="tijdstip2Label" Width="120" Height="26" VerticalAlignment="Top" />
                        <ComboBox Height="23" HorizontalAlignment="Left" Margin="121,6,0,0" x:Name="inleverenMagazijnierComboBox"  VerticalAlignment="Top" Width="211" DisplayMemberPath="Gebruiker.NaamVoornaam" SelectionChanged="inleverenMagazijnierComboBox_SelectionChanged"  ItemContainerStyle="{DynamicResource ResourceKey=combostyle2}">
                            <ComboBox.Resources>
                                <SolidColorBrush x:Key="{x:Static SystemColors.HighlightBrushKey}" Color="Gray" />
                            </ComboBox.Resources>
                        </ComboBox>
                        <DatePicker Height="25" HorizontalAlignment="Left" Margin="121,32,0,0" x:Name="inleverenDatePicker" VerticalAlignment="Top" Width="132" SelectedDateChanged="inleverenDatePicker_SelectedDateChanged" />
                        <ComboBox Height="23" Margin="259,32,6,0" x:Name="inleverenTijdComboBox" Width="73" SelectionChanged="inleverenTijdComboBox_SelectionChanged" VerticalAlignment="Top" />
                    </Grid>
                </GroupBox>
            </Grid>
        </WrapPanel>
    </Grid>
</Page>
